<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script src="../dist/projectLibs.js"></script>
  <script>
    const _cookie = window.projectLibs.cookie;
    _cookie.set("demo", {id:123});
    _cookie.set("demo2", "demo2");
    console.log(_cookie.get('demo'));
    console.log(_cookie.get('demo2'));
  </script>
</body>
</html>